//
//  HighLightedControl.m
//  FindeMe
//
//  Created by Alimjan on 15/8/5.
//  Copyright (c) 2015年 Micro_Cai. All rights reserved.
//

#import "HighLightedControl.h"

@implementation HighLightedControl

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/
- (void) setHighlighted: (BOOL) highlighted {
    [super setHighlighted: highlighted];
    // Only as an example. Caution: looks like a disabled control
    self.alpha = highlighted ? 0.5f : 1.0f;
}
@end
